import {get, post} from '../fetch'

// 【news】--获取列表
export const getConstantList = (params) => get('jdConstantValues/getList', params)
// 【news】--新增数据
export const saveConstant = (params) => post('jdConstantValues/save', params)
// 【news】--更新数据
export const editConstant = (params) => post('jdConstantValues/edit', params)
// 【news】--删除数据
export const deleteConstant = (data) => post('jdConstantValues/delete/' + data, data)
